Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add List Layouts #4

Merged
merged 36 commits into from
Oct 23, 2023
Merged

Add List Layouts #4

merged 36 commits into from
Oct 23, 2023

Conversation

Gold872
Copy link
Owner

@Gold872 Gold872 commented Oct 23, 2023

No description provided.

Gold872 added 30 commits August 26, 2023 17:11
* Widgets don't get copied to a separate list when dragging
* WidgetContainerModel doesn't have unnecessary fields
* Logic for weather a widget container is being dragged to a valid location/layout is handled by DashboardGrid
* DashboardGrid instance is passed into each container instead of having tons of boolean callback methods
* JsonData map is no longer a field in DashboardGrid and DraggableWidgetContainer, it's only passed in the fromJson constructor
* The cursor's global position is used to determine layout locations
* Numerous methods no longer have unneeded parameters
@codecov-commenter
Copy link

Codecov Report

Attention: 491 lines in your changes are missing coverage. Please review.

Comparison is base (bb296ef) 51.36% compared to head (dfa4b6d) 54.78%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main       #4      +/-   ##
==========================================
+ Coverage   51.36%   54.78%   +3.41%     
==========================================
  Files          51       54       +3     
  Lines        4575     5111     +536     
==========================================
+ Hits         2350     2800     +450     
- Misses       2225     2311      +86     
Files Coverage Δ
lib/services/nt4_connection.dart 27.86% <100.00%> (ø)
lib/widgets/network_tree/network_table_tree.dart 97.70% <100.00%> (+0.20%) ⬆️
...aggable_containers/draggable_layout_container.dart 75.00% <75.00%> (ø)
...ble_containers/draggable_nt4_widget_container.dart 75.29% <71.11%> (+2.45%) ⬆️
lib/pages/dashboard_page.dart 61.50% <66.66%> (-0.40%) ⬇️
lib/widgets/dialog_widgets/layout_drag_tile.dart 4.00% <4.00%> (ø)
...aggable_containers/draggable_widget_container.dart 59.03% <34.78%> (-9.57%) ⬇️
lib/services/shuffleboard_nt_listener.dart 48.30% <39.15%> (-33.01%) ⬇️
...ts/draggable_containers/draggable_list_layout.dart 34.26% <34.26%> (ø)
lib/widgets/dashboard_grid.dart 49.76% <49.37%> (+7.88%) ⬆️

... and 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Gold872 Gold872 merged commit eaa30ac into main Oct 23, 2023
5 checks passed
@Gold872 Gold872 deleted the list-layout branch October 23, 2023 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants